]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agoPort to new gnome-menus API
Colin Walters [Mon, 18 Apr 2011 20:05:47 +0000 (16:05 -0400)]
Port to new gnome-menus API

Since gnome-menus is now introspectable, eventually we can drop
ShellAppSystem entirely.  For now though, just do the basic port.

https://bugzilla.gnome.org/show_bug.cgi?id=648149

15 years agoAdded StButtonAccessible
Alejandro Piñeiro [Mon, 23 May 2011 19:35:28 +0000 (21:35 +0200)]
Added StButtonAccessible

Basic skeleton and the proper role (ATK_ROLE_PUSH_BUTTON)

15 years agopanelMenu: add a gap between the panel and its menus
Dan Winship [Sat, 30 Jul 2011 17:24:24 +0000 (13:24 -0400)]
panelMenu: add a gap between the panel and its menus

The specs call for a 2 pixel gap between the panel and its menus,
though we need to specify this as 4 pixels, since it's relative to the
bottom of the icon/title, not the bottom of the panel (up until now,
the point of the menu arrow was actually overlapping the menu's
highlight underline).

Also, move the gap specification into the CSS, since it makes more
sense there.

https://bugzilla.gnome.org/show_bug.cgi?id=655627

15 years agoFix critical when setting a NULL label
Giovanni Campagna [Mon, 1 Aug 2011 14:14:23 +0000 (16:14 +0200)]
Fix critical when setting a NULL label

st_label_set_text() does not accept NULL, and emits a g_critical
in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=654638

15 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 1 Aug 2011 13:42:24 +0000 (15:42 +0200)]
Updated POTFILES.in

15 years agoTheme: improve menu popup appearance
Allan Day [Sat, 30 Jul 2011 12:00:16 +0000 (13:00 +0100)]
Theme: improve menu popup appearance

Make menu popups fully match the mockups by changing the stroke
colour, pointer and corner radius size. This has the benefit of
distinguishing the menu from the background and gives it a subtler
appearance that fits the shell's aesthetic.

https://bugzilla.gnome.org/show_bug.cgi?id=655627

15 years agoUse "Region and Language Settings" label
Jeremy Bicha [Sun, 17 Jul 2011 07:35:08 +0000 (03:35 -0400)]
Use "Region and Language Settings" label

Since this link in the keyboard menu points to Region and Language
Settings in System Settings, we should be consistent and use that
term instead of "Localization Settings"

Also, this removes ellipsis from "Show Keyboard Layout" since it
doesn't require further input.

https://bugzilla.gnome.org/show_bug.cgi?id=652984

15 years agoAdd markup.js to TEST_JS
Owen W. Taylor [Wed, 27 Jul 2011 23:09:54 +0000 (19:09 -0400)]
Add markup.js to TEST_JS

15 years agoRequire GJS 1.29.15
Owen W. Taylor [Wed, 27 Jul 2011 22:26:43 +0000 (18:26 -0400)]
Require GJS 1.29.15

15 years agoAlways include gnome-shell-jhbuild.in in EXTRA_DIST
Owen W. Taylor [Wed, 27 Jul 2011 23:02:21 +0000 (19:02 -0400)]
Always include gnome-shell-jhbuild.in in EXTRA_DIST

15 years agoBump version to 3.1.4
Owen W. Taylor [Wed, 27 Jul 2011 22:37:50 +0000 (18:37 -0400)]
Bump version to 3.1.4

Update NEWS

15 years agochrome: Ignore minimized windows when updating visibility
Florian Müllner [Wed, 27 Jul 2011 19:41:44 +0000 (21:41 +0200)]
chrome: Ignore minimized windows when updating visibility

The current check for fullscreen windows ignores the window's
minimization state, so that chrome which is hidden in fullscreen
will always hide if the window on top of the window stack is
fullscreen, even if it is actually minimized.
Instead, skip minimized windows when looking for fullscreen windows.

https://bugzilla.gnome.org/show_bug.cgi?id=655446

15 years agoNotificationDaemon: only remove the source if notification sender is removed from...
Marina Zhurakhinskaya [Wed, 27 Jul 2011 21:08:08 +0000 (17:08 -0400)]
NotificationDaemon: only remove the source if notification sender is removed from DBus and the application is set

This ensures that we don't remove "notify-send" sources, senders of which are
removed from DBus immediately.

15 years agotests: add a test for MessageTray._fixMarkup
Dan Winship [Wed, 18 May 2011 18:54:05 +0000 (14:54 -0400)]
tests: add a test for MessageTray._fixMarkup

https://bugzilla.gnome.org/show_bug.cgi?id=650298

15 years agotests: fix up typelib include paths
Dan Winship [Wed, 18 May 2011 18:52:27 +0000 (14:52 -0400)]
tests: fix up typelib include paths

The js modules have so many imports back and forth that it's pretty
much guaranteed that if you import even one of them, you'll end up
importing all of them, including ui.status.bluetooth and
ui.status.network. So fix up the typelib include paths the same way
gnome-shell-jhbuild does, so we can find everything.

https://bugzilla.gnome.org/show_bug.cgi?id=650298

15 years agomessageTray: improve bad-markup handling
Dan Winship [Wed, 4 May 2011 15:15:45 +0000 (11:15 -0400)]
messageTray: improve bad-markup handling

_fixMarkup() was supposed to be ensuring that the markup we passed to
clutter was correct, but it was validating the syntax incorrectly, and
wasn't checking that the markup was valid (or even well-formed). This
is bad because if you pass bad pango markup to
clutter_text_set_markup(), it will g_warn and drop the string on the
floor.

Fix by fixing up the regexps, and then calling Pango.parse_markup() on
the result, and just xml-escaping everything if parse_markup() fails.

https://bugzilla.gnome.org/show_bug.cgi?id=650298

15 years agoUpdated Slovak translation
Michal Štrba [Tue, 26 Jul 2011 13:12:15 +0000 (15:12 +0200)]
Updated Slovak translation

15 years ago[l10n] Updated Italian translation
Luca Ferretti [Sat, 23 Jul 2011 18:13:56 +0000 (20:13 +0200)]
[l10n] Updated Italian translation

15 years agoUpdated Russian translation
Yuri Kozlov [Sat, 23 Jul 2011 17:34:36 +0000 (21:34 +0400)]
Updated Russian translation

15 years agomain: add logStackTrace(), for debugging
Dan Winship [Wed, 20 Jul 2011 17:45:31 +0000 (13:45 -0400)]
main: add logStackTrace(), for debugging

Add Main.logStackTrace(), to print a (javascript) stack trace, which
is often useful when debugging.

https://bugzilla.gnome.org/show_bug.cgi?id=654987

15 years agoRevert "wip: cross fade the window_group and window clones going in/out of the overview"
Rui Matos [Tue, 19 Jul 2011 23:45:53 +0000 (00:45 +0100)]
Revert "wip: cross fade the window_group and window clones going in/out of the overview"

This reverts commit 162559159827227d418afd1f712f79c1d3a4a353.

15 years agoRevert "volume.js: make slider menu items activatable"
Rui Matos [Tue, 19 Jul 2011 23:45:29 +0000 (00:45 +0100)]
Revert "volume.js: make slider menu items activatable"

This reverts commit a50c30a4fde52e0173754f84f2990a4b70ca5b7a.

15 years agorunDialog: catch exceptions from Gio.app_info_launch_default_for_uri()
Rui Matos [Wed, 6 Jul 2011 19:43:49 +0000 (20:43 +0100)]
runDialog: catch exceptions from Gio.app_info_launch_default_for_uri()

An uncaught exception here would mean that the dialog wouldn't close.

https://bugzilla.gnome.org/show_bug.cgi?id=653700

15 years agowip: cross fade the window_group and window clones going in/out of the overview
Rui Matos [Mon, 4 Jul 2011 17:35:01 +0000 (18:35 +0100)]
wip: cross fade the window_group and window clones going in/out of the overview

https://bugzilla.gnome.org/show_bug.cgi?id=653868

15 years agovolume.js: make slider menu items activatable
Rui Matos [Fri, 6 May 2011 16:34:19 +0000 (17:34 +0100)]
volume.js: make slider menu items activatable

Keeping the volume menu open after setting the desired volume isn't that
useful and forces a second click (or an Esc press) to dismiss it. Allow for
the sliders to be used with a single click-hold-move-release.

https://bugzilla.gnome.org/show_bug.cgi?id=649586

15 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 19 Jul 2011 20:27:47 +0000 (22:27 +0200)]
Updated Slovenian translation

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 18 Jul 2011 11:50:22 +0000 (13:50 +0200)]
Updated Norwegian bokmål translation

15 years agoPunjabi Translation is updated
A S Alam [Mon, 18 Jul 2011 02:59:25 +0000 (08:29 +0530)]
Punjabi Translation is updated

15 years agotelepathyClient: Code cleanup
Jasper St. Pierre [Sun, 17 Jul 2011 19:25:42 +0000 (15:25 -0400)]
telepathyClient: Code cleanup

Move a function to where it's used and rename "_createSource"
to reflect that it creates *chat* sources.

https://bugzilla.gnome.org/show_bug.cgi?id=654791

15 years agotelepathyClient: Fix undefined variable
Jasper St. Pierre [Sun, 17 Jul 2011 19:18:33 +0000 (15:18 -0400)]
telepathyClient: Fix undefined variable

https://bugzilla.gnome.org/show_bug.cgi?id=654791

15 years agoUpdated Spanish translation
Jorge González [Sun, 17 Jul 2011 10:14:53 +0000 (12:14 +0200)]
Updated Spanish translation

15 years agoviewSelector: Bind <Ctrl>+<Return> for open new window
Maxim Ermilov [Sat, 16 Jul 2011 19:27:05 +0000 (23:27 +0400)]
viewSelector: Bind <Ctrl>+<Return> for open new window

https://bugzilla.gnome.org/show_bug.cgi?id=613082

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 16 Jul 2011 14:27:41 +0000 (17:27 +0300)]
Updated Hebrew translation.

15 years agoApprove audio/video channels
Guillaume Desmottes [Mon, 11 Jul 2011 11:09:45 +0000 (13:09 +0200)]
Approve audio/video channels

Support the old (StreamedMedia) and new (Call) API for now as the latter is
still used.

https://bugzilla.gnome.org/show_bug.cgi?id=653939

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 15 Jul 2011 07:55:09 +0000 (10:55 +0300)]
Updated Hebrew translation.

15 years agopanel, layout: clean up HotCorner handling
Dan Winship [Thu, 14 Jul 2011 12:35:55 +0000 (08:35 -0400)]
panel, layout: clean up HotCorner handling

Move the HotCorner class from panel to layout, and make the panel
manage its own HotCorner.

Stick the panel's HotCorner into the Activities button actor (rather
than separately floating above it), so that hover tracking on the
button works properly without needing hacks in HotCorner.

https://bugzilla.gnome.org/show_bug.cgi?id=645759

15 years agopanel: make ActivitiesButton a PanelMenu.Button
Dan Winship [Thu, 14 Jul 2011 12:56:14 +0000 (08:56 -0400)]
panel: make ActivitiesButton a PanelMenu.Button

The fact that everything in the top bar except the activities button
was a menu made various things difficult. Simplify this by making the
activities button be a menu too, but just hack it up a bit so that the
menu associated with the button never actually appears.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=645759 (Clicking on
Activities with menu up leaves a funny state) and its semi-dup 641253
(panel keynav between Activities and menus is quirky).

15 years agopanel: abstract ActivitiesButton into its own class
Dan Winship [Thu, 14 Jul 2011 12:53:44 +0000 (08:53 -0400)]
panel: abstract ActivitiesButton into its own class

https://bugzilla.gnome.org/show_bug.cgi?id=645759

15 years ago[l10n] Updated German translation
Mario Blättermann [Thu, 14 Jul 2011 18:27:45 +0000 (20:27 +0200)]
[l10n] Updated German translation

15 years agomain: filter out "tp-glib/proxy-DEBUG" messages
Dan Winship [Thu, 14 Jul 2011 18:07:01 +0000 (14:07 -0400)]
main: filter out "tp-glib/proxy-DEBUG" messages

15 years ago[l10n] Updated German translation
Paul Seyfert [Thu, 14 Jul 2011 17:59:20 +0000 (19:59 +0200)]
[l10n] Updated German translation

15 years agochrome: don't show visibleInOverview chrome when the screensaver is active
Dan Winship [Mon, 6 Jun 2011 15:05:34 +0000 (11:05 -0400)]
chrome: don't show visibleInOverview chrome when the screensaver is active

visibleInOverview chrome was visible even when the screensaver was
active. Although we may eventually need visibleInScreenSaver, that
should be a separate flag.

Fix this by tracking the screensaver active state, and hiding the chrome
when the screensaver is active.

https://bugzilla.gnome.org/show_bug.cgi?id=654550

15 years agoscreenSaver: bugfixes
Dan Winship [Wed, 13 Jul 2011 19:07:39 +0000 (15:07 -0400)]
screenSaver: bugfixes

Fix the signal handling; you can't use this.connect('ActiveChanged')
to connect to a D-Bus signal after replacing the signal methods with
the lang.signals versions. Just leave it using the D-Bus signal names,
just like it uses the D-Bus method names.

Also, remove the "_" from "_screenSaverActive", to match what
AutomountManager checks for, and remove getActive(), since it's not
needed.

https://bugzilla.gnome.org/show_bug.cgi?id=654550

15 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 14 Jul 2011 12:36:41 +0000 (14:36 +0200)]
Updated Slovenian translation

15 years agoTurn RoomInviteSource to a more generic source
Guillaume Desmottes [Mon, 11 Jul 2011 10:59:23 +0000 (12:59 +0200)]
Turn RoomInviteSource to a more generic source

All the approving source will be basically the same.

https://bugzilla.gnome.org/show_bug.cgi?id=653939

15 years agostatusMenu: Fix typo in user switching commit
Colin Walters [Wed, 13 Jul 2011 21:43:23 +0000 (17:43 -0400)]
statusMenu: Fix typo in user switching commit

15 years agoUse CLUTTER_CAIRO_FORMAT_ARGB32: rather then doing a byte order check
Adel Gadllah [Wed, 13 Jul 2011 20:14:45 +0000 (22:14 +0200)]
Use CLUTTER_CAIRO_FORMAT_ARGB32: rather then doing a byte order check

Clutter 1.7.x introduced CLUTTER_CAIRO_FORMAT_ARGB32: which can be used when
sharing textures/data with cairo without having to do check the
byte order and choose the appropriate format by hand.

https://bugzilla.gnome.org/show_bug.cgi?id=654577

15 years agomessage-tray: Move check for _actorDestroyed into _setCount()
Florian Müllner [Wed, 13 Jul 2011 20:23:03 +0000 (22:23 +0200)]
message-tray: Move check for _actorDestroyed into _setCount()

As _updateCount has been designed to be overwritable by subclasses,
move the check for _actorDestroyed into _setCount(), to fix the
problem described in commit 5f6ac33d5 in derived types as well.

15 years agoautorun-manager: Fix 'destroy' handler of resident source
Florian Müllner [Wed, 13 Jul 2011 19:22:35 +0000 (21:22 +0200)]
autorun-manager: Fix 'destroy' handler of resident source

If the resident source is destroyed, it should be recreated
immediately, so that it is available when another volume is
mounted. However, we only connect to the 'destroy' signal
on the original source, not on newly created ones. As a result,
the resident source only works twice, after that it shows up
without icon and an empty notification.

Fix by always connecting to the source's 'destroy' signal.

15 years agoextension-tool: Clean up code creator, update sample
Jasper St. Pierre [Thu, 23 Jun 2011 01:32:08 +0000 (21:32 -0400)]
extension-tool: Clean up code creator, update sample

Update the sample to be more up to date with respect to Shell practices,
and make it look a bit prettier. Additionally, change the file extract
code so that it's easier to update and add new files later.

https://bugzilla.gnome.org/show_bug.cgi?id=653206

15 years agoextension-tool: Use socket.gethostname() instead of an external process
Jasper St. Pierre [Thu, 23 Jun 2011 01:29:20 +0000 (21:29 -0400)]
extension-tool: Use socket.gethostname() instead of an external process

Minor code cleanup.

https://bugzilla.gnome.org/show_bug.cgi?id=653206

15 years agotrivial: update .gitignore
Cosimo Cecchi [Wed, 13 Jul 2011 18:59:22 +0000 (14:59 -0400)]
trivial: update .gitignore

15 years agomessage-tray: Don't update message count after destruction
Florian Müllner [Tue, 12 Jul 2011 23:18:58 +0000 (01:18 +0200)]
message-tray: Don't update message count after destruction

When trying to update the message count after a summary icon has
been destroyed, the label to display the count is no longer valid
and trying to set its text results in some Clutter warnings.

15 years agoautomount: handle the drive-eject-button signal
Cosimo Cecchi [Mon, 27 Jun 2011 16:13:54 +0000 (12:13 -0400)]
automount: handle the drive-eject-button signal

The implementation is untested, as the signal is not emitted from the
Gdu GVfs volume monitor yet.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautomount: emit sounds when a drive is connected/disconnected
Cosimo Cecchi [Mon, 27 Jun 2011 15:51:23 +0000 (11:51 -0400)]
automount: emit sounds when a drive is connected/disconnected

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agomount-operation: implement ask-password for mounting encrypted volumes
Cosimo Cecchi [Tue, 12 Jul 2011 15:29:49 +0000 (11:29 -0400)]
mount-operation: implement ask-password for mounting encrypted volumes

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: prefer Safe Removal over eject/unmount if possible
Cosimo Cecchi [Thu, 23 Jun 2011 14:08:17 +0000 (10:08 -0400)]
autorun: prefer Safe Removal over eject/unmount if possible

Basically do what NautilusPlacesSidebar does with the drive/volume/mount
eject/unmount/stop priorities.

We follow this pattern:
- always prefer Safely Remove if available (i.e. drive.stop())
- fallback to ejecting the mount/volume/drive if that's not possible
- finally, fallback to unmounting the mount if even eject is not
  available

This also means we don't care about the distinction between
Stop/Eject/Unmount at this level. Disk Utility (or Nautilus) are
available for those who want that degree of control, but the common case
here should do the most useful action without presenting the choice.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agomount-operation: implement ask-question
Cosimo Cecchi [Tue, 12 Jul 2011 15:44:08 +0000 (11:44 -0400)]
mount-operation: implement ask-question

Use a system modal dialogs for mount operation questions.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agomount-operation: add a ShellMountOperation implementation
Cosimo Cecchi [Wed, 22 Jun 2011 20:43:16 +0000 (16:43 -0400)]
mount-operation: add a ShellMountOperation implementation

Ideally, this would be an entirely-JS implementation, but we have a
couple of issues with gjs and gobject-introspection to work around, so
we need a ShellMountOperation class for the time being.

This first commit implements the show-processes dialog, with a system
modal style very similar to the EndSession dialog.
Implementations of ask-question and ask-password will follow shortly.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautomount: only autorun volumes marked as allowed
Cosimo Cecchi [Wed, 22 Jun 2011 13:45:03 +0000 (09:45 -0400)]
automount: only autorun volumes marked as allowed

Port code from g-s-d to mark volumes as allowed for autorun, and check
for it when running the notification.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: integrate with the shell sniffer process
Cosimo Cecchi [Tue, 12 Jul 2011 14:37:14 +0000 (10:37 -0400)]
autorun: integrate with the shell sniffer process

If possible, use the results from the sniffer process in order to have
less-generic alternatives to the file manager in the proposed autorun
choices.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agosniffer: add a mimetype sniffer helper executable
Cosimo Cecchi [Tue, 12 Jul 2011 14:34:41 +0000 (10:34 -0400)]
sniffer: add a mimetype sniffer helper executable

The sniffer is a simple helper process, activated as a DBus service,
that tries to crawl as many files as possible in the provided target
directory (i.e. the new mount's root), for a maximum amount of time -
which is set here to 1.5 seconds (i.e. it will crawl either all the
files in the directory tree, or as many as it can before the specified
timeout expires).

Crawled files are ordered by their content type, and a generic estimation
of the type of files composing the directory is returned to the caller,
using generic 'x-content/*' mimetypes.

The process will then set an autoquit timeout on itself, which can be
disabled by setting the env variable HOTPLUG_SNIFFER_PERSIST for
debugging purposes. The HOTPLUG_SNIFFER_DEBUG env variable can also be
set to enable debugging output.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: follow per content-type gsettings preferences for autorun
Cosimo Cecchi [Mon, 11 Jul 2011 13:31:56 +0000 (09:31 -0400)]
autorun: follow per content-type gsettings preferences for autorun

Autorun preferences can be fine-tweaked at the content-type level from
the System Settings 'Removable Media' panel.
Use those settings to figure out the default action for newly-mounted
mounts.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautomount: add an AutomountManager class
Cosimo Cecchi [Mon, 20 Jun 2011 19:16:40 +0000 (15:16 -0400)]
automount: add an AutomountManager class

The AutomountManager class is the low-level counterpart of the
previously introduced AutorunManager, and takes care of extracting the
list of valid mounts from a GVolume or a GDrive and mounting them,
provided a number of conditions and requirements are met.

AutomountManager also keeps track of the current session availability
(using the ConsoleKit and gnome-screensaver DBus interfaces) and
inhibits mounting if the current session is locked, or another session
is in use instead.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: add an AutorunManager class
Cosimo Cecchi [Tue, 12 Jul 2011 13:47:43 +0000 (09:47 -0400)]
autorun: add an AutorunManager class

AutorunManager is a class that takes care of displaying and managing
notifications and UI for storage devices.

When a mount appears and a number of conditions are satisified, a
transient notification will be displayed to immediately interact with
the device. AutorunTransientDispatcher is the object that takes care of
showing/hiding the notification sources as devices appear/disappear.

Likewise, current mounts are kept in a list and presented within a
list in a resident notification, handled by AutorunResidentSource.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoscreensaver: factor out a ScreenSaverProxy helper class
Cosimo Cecchi [Tue, 12 Jul 2011 15:42:33 +0000 (11:42 -0400)]
screensaver: factor out a ScreenSaverProxy helper class

This class will be shared between StatusMenu and the upcoming
AutomountManager classes.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agostatusMenu.js: Ensure screensaver is locked before switching users
Colin Walters [Tue, 5 Jul 2011 13:29:05 +0000 (09:29 -0400)]
statusMenu.js: Ensure screensaver is locked before switching users

Somewhat similar to (see bug 637540), we need to lock the screensaver
*before* asking GDM to switch.

https://bugzilla.gnome.org/show_bug.cgi?id=654565

15 years agobuild: Remove gnome-power-manager
Florian Müllner [Sat, 9 Jul 2011 15:28:22 +0000 (17:28 +0200)]
build: Remove gnome-power-manager

The DBus interface for the battery status is now provided by the
power plugin of gnome-settings-daemon, so there's real reason to
keep building gnome-power-manager.

https://bugzilla.gnome.org/show_bug.cgi?id=654300

15 years agopower: Remove _checkError()
Florian Müllner [Sat, 9 Jul 2011 15:23:03 +0000 (17:23 +0200)]
power: Remove _checkError()

On error, we tried to kill and respawn gnome-power-manager, but
as of commit c5676900 the DBus interface provided by g-s-d's power
plugin is used, so the respawning does not have any effect.

https://bugzilla.gnome.org/show_bug.cgi?id=654300

15 years agobuild: Remove upower from the moduleset
Florian Müllner [Sat, 9 Jul 2011 15:16:18 +0000 (17:16 +0200)]
build: Remove upower from the moduleset

The upower version in the moduleset is too old for the power plugin
of gnome-settings-daemon. As at least Fedora and Ubuntu have a
recent enough version in their repositories, use that instead of
bumping the version in the moduleset.

https://bugzilla.gnome.org/show_bug.cgi?id=654300

15 years agomain: Fix small memory leak in main.c
Jasper St. Pierre [Sat, 9 Jul 2011 21:07:46 +0000 (17:07 -0400)]
main: Fix small memory leak in main.c

==17386== 1,669 (88 direct, 1,581 indirect) bytes in 1 blocks are definitely lost in loss record 4,090 of 4,151
==17386==    at 0x4C24AF4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17386==    by 0x691B099: g_malloc0 (in /usr/lib/libglib-2.0.so.0.2800.8)
==17386==    by 0x692006A: g_option_context_new (in /usr/lib/libglib-2.0.so.0.2800.8)
==17386==    by 0x5124C57: meta_get_option_context (in /usr/lib/libmutter.so.0.0.0)
==17386==    by 0x401D4F: main (in /usr/bin/gnome-shell)

https://bugzilla.gnome.org/show_bug.cgi?id=654269

15 years agognome-shell-jhbuild.in: Fix restore_gnome.
Jasper St. Pierre [Wed, 13 Jul 2011 17:08:43 +0000 (13:08 -0400)]
gnome-shell-jhbuild.in: Fix restore_gnome.

The gconf keys used to restore GNOME aren't in a proper GNOME3 environment.
To mimic what GNOME3 gnome-session does would be extremely complicated, so
just launch the system gnome-shell.

https://bugzilla.gnome.org/show_bug.cgi?id=654527

15 years agoNetworkMenu: take out an item from More... when another is destroyed
Giovanni Campagna [Mon, 27 Jun 2011 15:45:24 +0000 (17:45 +0200)]
NetworkMenu: take out an item from More... when another is destroyed

When one of the networks in the main menu is removed and we have
a More... submenu, we can take the first out from the submenu and
show it in the main menu.

https://bugzilla.gnome.org/show_bug.cgi?id=647175

15 years agost-entry: Inherit all colors
Jasper St. Pierre [Sat, 9 Jul 2011 08:41:32 +0000 (04:41 -0400)]
st-entry: Inherit all colors

https://bugzilla.gnome.org/show_bug.cgi?id=643768

15 years agotheme: Add selected text color
Jasper St. Pierre [Wed, 2 Mar 2011 21:22:20 +0000 (16:22 -0500)]
theme: Add selected text color

This should improve readability of text that's selected.

https://bugzilla.gnome.org/show_bug.cgi?id=643768

15 years agost-entry: Support a different color for selected text
Jasper St. Pierre [Wed, 2 Mar 2011 21:18:42 +0000 (16:18 -0500)]
st-entry: Support a different color for selected text

This should improve readability in text entries where the text
color is very close to the color of the selection.

https://bugzilla.gnome.org/show_bug.cgi?id=643768

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 12 Jul 2011 18:00:31 +0000 (20:00 +0200)]
Updated Norwegian bokmål translation

15 years agoUpdated Latvian translation.
Rudolfs Mazurs [Tue, 12 Jul 2011 15:46:45 +0000 (18:46 +0300)]
Updated Latvian translation.

15 years agoFix methods that take array arguments
Giovanni Campagna [Fri, 1 Jul 2011 13:24:16 +0000 (15:24 +0200)]
Fix methods that take array arguments

Length parameter is no longer required in current GJS. Fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=654349

15 years agoAllow other clients to preempt the channels we are handling
Guillaume Desmottes [Fri, 24 Jun 2011 12:29:23 +0000 (14:29 +0200)]
Allow other clients to preempt the channels we are handling

This is needed if we are handling an incoming text channel and then user tries
to open a chat with the same contact using Empathy. In this case, the Shell
should delegate the channel back to Empathy and just continue observing it as
it does for usual outgoing channels.

Depends on telepathy-glib 0.15.3 as
tp_base_client_set_delegated_channels_callback() has been added in this
version.

https://bugzilla.gnome.org/show_bug.cgi?id=654237

15 years agoupdate Punjabi Translation
A S Alam [Sun, 10 Jul 2011 11:07:37 +0000 (16:37 +0530)]
update Punjabi Translation

15 years agotests: Add tests for large rounded corners
Jasper St. Pierre [Thu, 5 May 2011 21:25:34 +0000 (17:25 -0400)]
tests: Add tests for large rounded corners

https://bugzilla.gnome.org/show_bug.cgi?id=649513

15 years agoPopupSwitchMenuItem: don't override switch by creating it twice
Marc-Antoine Perennou [Fri, 8 Jul 2011 19:09:10 +0000 (21:09 +0200)]
PopupSwitchMenuItem: don't override switch by creating it twice

Due to an accidental addition line in commit c8670819, all switches in popup
menus accidentally gave the appearance that they were turned off.

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
https://bugzilla.gnome.org/show_bug.cgi?id=654267

15 years agoSt: Take the cairo fallback for large corners
Jasper St. Pierre [Mon, 16 May 2011 23:02:24 +0000 (19:02 -0400)]
St: Take the cairo fallback for large corners

The cogl path pads the corners out to the maximum corner radius to make the
math and painting logic easier. Unfortunately, when the radius exceeds the
actor's halfsize, the padding ends up interfering with other corners, creating
a big mess of rendering errors.

It'd be extremely complicated to fix this properly in the Cogl code,
so take the Cairo fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=649513

15 years agoSt: Implement CSS3 specification for reducing border-radius
Jasper St. Pierre [Thu, 5 May 2011 20:57:10 +0000 (16:57 -0400)]
St: Implement CSS3 specification for reducing border-radius

Currently, any cases of overlapping corners were just ignored and rendered incorrectly.
Implement the corner overlap algorithm as specified by the W3C to fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=649513

15 years agoNotificationDaemon: remove source if notification sender is removed from DBus
Neha Doijode [Wed, 6 Jul 2011 21:01:07 +0000 (02:31 +0530)]
NotificationDaemon: remove source if notification sender is removed from DBus

We don't want sources that are no longer associated with a running application
to stick around in the message tray.

Message tray sources were removed when the associated application’s state
changed to Shell.AppState.STOPPED . This caused sources for applications
that were still running, but did not have any open windows to be removed.
Instead, we should use the notification’s sender removal from DBus as an
indicator for when to remove the associated source from the message tray.

https://bugzilla.gnome.org/show_bug.cgi?id=645764

15 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 7 Jul 2011 20:41:05 +0000 (22:41 +0200)]
Updated Spanish translation

15 years agotelepathyClient: send typing notifications
Jonny Lamb [Thu, 7 Jul 2011 12:42:07 +0000 (13:42 +0100)]
telepathyClient: send typing notifications

If we're typing we want to send composing. If we empty the entry we
want to send active. If we're typing but don't type any more for
COMPOSING_STOP_TIMEOUT seconds, we want to send paused. Simple.

This behaviour was stolen from Empathy where it has won many awards.

https://bugzilla.gnome.org/show_bug.cgi?id=650196

Based on patch from Jonny Lamb <jonnylamb@gnome.org>
Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk>
15 years agoDisplay the number of unread messages in the notification icon
Guillaume Desmottes [Mon, 27 Jun 2011 12:31:53 +0000 (14:31 +0200)]
Display the number of unread messages in the notification icon

https://bugzilla.gnome.org/show_bug.cgi?id=654139

15 years agomessageTray.js: raise an exception only if parseInt(count) returns NaN
Guillaume Desmottes [Thu, 7 Jul 2011 13:35:37 +0000 (15:35 +0200)]
messageTray.js: raise an exception only if parseInt(count) returns NaN

0 is a valid value for count so we should accept it.

https://bugzilla.gnome.org/show_bug.cgi?id=654139

15 years agoApprove room invitations
Guillaume Desmottes [Thu, 30 Jun 2011 12:05:41 +0000 (14:05 +0200)]
Approve room invitations

We use to rely on Empathy for this but as we plan to allow users to be
connected on IM without having Empathy running the Shell should do it now.

https://bugzilla.gnome.org/show_bug.cgi?id=653740

15 years agognome-shell-build-setup.sh: update libxcb dependency check on Debian
Siegfried-Angel Gevatter Pujals [Wed, 6 Jul 2011 23:01:41 +0000 (01:01 +0200)]
gnome-shell-build-setup.sh: update libxcb dependency check on Debian

On Debian-based systems, the contents of libxcb-{event1,aux0}-dev
have been transitioned into a single libxcb-util0-dev package.

15 years agomessageTray: Use the count to display the number of unread notifications
Jasper St. Pierre [Fri, 24 Jun 2011 19:47:24 +0000 (15:47 -0400)]
messageTray: Use the count to display the number of unread notifications

https://bugzilla.gnome.org/show_bug.cgi?id=649356

15 years agomessageTray: Add an enumerable count for sources to use
Jasper St. Pierre [Fri, 24 Jun 2011 19:46:55 +0000 (15:46 -0400)]
messageTray: Add an enumerable count for sources to use

https://bugzilla.gnome.org/show_bug.cgi?id=649356

15 years agoworkspace: Fix layout errors caused by window zoom
Florian Müllner [Wed, 6 Jul 2011 15:46:47 +0000 (17:46 +0200)]
workspace: Fix layout errors caused by window zoom

Commit 64b2b4a7d4 changed the monitor layout handling, resulting
in some layout errors due to a subtle change in memory handling:
when zooming a window in the overview, the available zoom area is
calculated by subtracting the panel height from the primary monitor
area. This area used to be a copy of the monitor rect, but as now
the rect itself is returned, zooming a window on the primary monitor
repeatedly modifies the monitor rect, leading to layout errors in
various parts of the shell.
Fix by using a copy when calculating the available zoom area.

https://bugzilla.gnome.org/show_bug.cgi?id=654105

15 years agoshell-util: Add a helper method for saving files from HTTP
Jasper St. Pierre [Tue, 28 Jun 2011 00:17:27 +0000 (20:17 -0400)]
shell-util: Add a helper method for saving files from HTTP

Unfortunately, gjs cannot handle binary C strings directly from
gobject-introspection. Add a simple workaround method in C to help
us save random files from the web.

https://bugzilla.gnome.org/show_bug.cgi?id=653989

15 years agoAdd dependency on libsoup
Jasper St. Pierre [Tue, 28 Jun 2011 00:14:46 +0000 (20:14 -0400)]
Add dependency on libsoup

https://bugzilla.gnome.org/show_bug.cgi?id=653989

15 years agojs: belatedly add layout.js to Makefile
Dan Winship [Thu, 30 Jun 2011 12:46:55 +0000 (08:46 -0400)]
js: belatedly add layout.js to Makefile

15 years agoaltTab: try to avoid showing the switcher when "flipping"
Dan Winship [Tue, 5 Jul 2011 21:21:22 +0000 (17:21 -0400)]
altTab: try to avoid showing the switcher when "flipping"

Use a longer fade-in time, but with an inout transition, so that the
dialog starts fading in very slowly and then picks up speed after
150ms or so. That way if the user releases Alt+Tab right away, they'll
never actually see the dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=652346

15 years agoaltTab: honor switch_*_backward key binding actions
Rui Matos [Tue, 5 Jul 2011 22:05:45 +0000 (23:05 +0100)]
altTab: honor switch_*_backward key binding actions

https://bugzilla.gnome.org/show_bug.cgi?id=650452